package com.wiscamp.ninechapters.problems.application.dto.vo.collections;

import com.wiscamp.ninechapters.ddd.ViewObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.Collection;

@Data
public class ProblemCollectionVO implements ViewObject {
    /**
     * 题集编号
     */
    private long collectionId = 0;

    /**
     * 题集代码
     */
    private String collectionCode = "";

    /**
     * 题集名称
     */
    private String collectionName = "";

    /**
     * 题集分类编号
     */
    private int collectionCategoryId = 0;

    /**
     * 考试编号
     */
    private long examId = 0;

    /**
     * 机构编号
     */
    private long organizationId = 0;

    /**
     * 语言代码
     */
    private String languageCode = "";

    /**
     * 学科编号
     */
    private long subjectId = 0;

    /**
     * 考试时长
     */
    private int totalTimeLimit = 0;

    /**
     * 考试总分数
     */
    private int totalScore = 0;

    /**
     * 是否真题
     */
    private boolean trueProblem = false;

    /**
     * 题集来源
     */
    private String collectionSource = "";

    /**
     * 题集摘要
     */
    private String collectionSummary = "";

    /**
     * 是否可用
     */
    private boolean enabled = true;

    /**
     * 备注
     */
    private String remark = "";

    /**
     * 题数量
     */
    private int problemQuantity = 0;

    /**
     * 创建用户
     */
    private long creatorId = 0;

    /**
     * 编辑用户
     */
    private long modifierId = 0;

    private String examName = "";

    private String collectionCategoryName = "";

    private String creatorName = "";

    private String modifierName = "";

    /**
     * 题集中的题列表
     */
    private Collection<CollectionProblemVO> collectionProblems = new ArrayList<>();
}
